package com.example.mysqldemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("ticket")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class TicketEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     *  唯一索引
     */
    private Integer onlyOne;
    /**
     *  普通索引
     */
    private Integer common;
    /**
     *  非索引
     */
    private Integer noIdx;
    /**
     *
     */
    private Integer num;
    private String time;
}
